// CommentVO.java
package com.health.information.domain;

import java.util.Date;

/**
 * 评论视图对象（包含用户信息）
 */
public class CommentVO {
    
    /** 评论id */
    private Long commentId;

    /** 动态id */
    private Long postId;

    /** 所属用户id */
    private Long userId;

    /** 评论内容 */
    private String comment;

    /** 评论点赞总数 */
    private Integer commentLikedNum;

    /** 创建时间 */
    private Date createTime;

    /** 用户昵称 */
    private String nickName;

    /** 用户头像 */
    private String avatar;

    /** 用户名 */
    private String userName;

    // getter and setter methods
    public Long getCommentId() { return commentId; }
    public void setCommentId(Long commentId) { this.commentId = commentId; }

    public Long getPostId() { return postId; }
    public void setPostId(Long postId) { this.postId = postId; }

    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }

    public String getComment() { return comment; }
    public void setComment(String comment) { this.comment = comment; }

    public Integer getCommentLikedNum() { return commentLikedNum; }
    public void setCommentLikedNum(Integer commentLikedNum) { this.commentLikedNum = commentLikedNum; }

    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }

    public String getNickName() { return nickName; }
    public void setNickName(String nickName) { this.nickName = nickName; }

    public String getAvatar() { return avatar; }
    public void setAvatar(String avatar) { this.avatar = avatar; }

    public String getUserName() { return userName; }
    public void setUserName(String userName) { this.userName = userName; }
}